package com.boot.security.server.model.mffl;

import com.boot.security.server.model.BaseEntity;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;

@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "咨询表(回复-追评)")
public class MfflConsultationReply extends BaseEntity<Long> {

    @ApiModelProperty(value = "用户id")
	private Integer userid;
    @ApiModelProperty(value = "律师id")
	private Integer lawyer;
    @ApiModelProperty(value = "0用户回答1律师回答")
	private Integer userOrLawyer;
    @ApiModelProperty(value = "标题id")
	private Integer consultationId;
    @ApiModelProperty(value = "服务id")
	private Integer serviceType;
    @ApiModelProperty(value = "回复/追评")
	private String reply;
    @ApiModelProperty(value = "图片地址")
	private String imageUrl;
    @ApiModelProperty(value = "交易id")
	private Integer payId;
    @ApiModelProperty(value = "交易单号")
	private String payNumber;
    @ApiModelProperty(value = "商户单号")
	private String payMerchantNumber;
    @ApiModelProperty(value = "是否为追问(0不是,如果是则追评id)")
	private Integer append;
    @JsonIgnore
    @ApiModelProperty(value = "是否删除(0删除,1正常)")
	private Integer deleteState;
    @JsonIgnore
    @ApiModelProperty(value = "删除时间")
	private Date deleteTime;
    @ApiModelProperty(value = "打赏数量")
	private Integer rewardnumber;
    @ApiModelProperty(value = "追评数量")
	private Integer replynumber;

	private mfflUserSimple mfflUserSimple;
	private List<MfflConsultationReply> consultationReplyList;


    public Integer getReplynumber() {
        return replynumber;
    }
    public void setReplynumber(Integer replynumber) {
        this.replynumber = replynumber;
    }
    public Integer getRewardnumber() {
        return rewardnumber;
    }
    public void setRewardnumber(int rewardnumber) {
        this.rewardnumber = rewardnumber;
    }
    public com.boot.security.server.model.mffl.mfflUserSimple getMfflUserSimple() {
        return mfflUserSimple;
    }
    public void setMfflUserSimple(com.boot.security.server.model.mffl.mfflUserSimple mfflUserSimple) {
        this.mfflUserSimple = mfflUserSimple;
    }
    public mfflUserSimple getUserinfo() {
		return mfflUserSimple;
	}
	public void setUserinfo(mfflUserSimple mfflUserSimple) {
		this.mfflUserSimple = mfflUserSimple;
	}
	public List<MfflConsultationReply> getConsultationReplyList() {
		return consultationReplyList;
	}
	public void setConsultationReplyList(List<MfflConsultationReply> consultationReplyList) {
		this.consultationReplyList = consultationReplyList;
	}
	public Integer getUserid() {
		return userid;
	}
	public void setUserid(Integer userid) {
		this.userid = userid;
	}
	public Integer getLawyer() {
		return lawyer;
	}
	public void setLawyer(Integer lawyer) {
		this.lawyer = lawyer;
	}
	public Integer getUserOrLawyer() {
		return userOrLawyer;
	}
	public void setUserOrLawyer(Integer userOrLawyer) {
		this.userOrLawyer = userOrLawyer;
	}
	public Integer getConsultationId() {
		return consultationId;
	}
	public void setConsultationId(Integer consultationId) {
		this.consultationId = consultationId;
	}
	public Integer getServiceType() {
		return serviceType;
	}
	public void setServiceType(Integer serviceType) {
		this.serviceType = serviceType;
	}
	public String getReply() {
		return reply;
	}
	public void setReply(String reply) {
		this.reply = reply;
	}
	public String getImageUrl() {
		return imageUrl;
	}
	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}
	public Integer getPayId() {
		return payId;
	}
	public void setPayId(Integer payId) {
		this.payId = payId;
	}
	public String getPayNumber() {
		return payNumber;
	}
	public void setPayNumber(String payNumber) {
		this.payNumber = payNumber;
	}
	public String getPayMerchantNumber() {
		return payMerchantNumber;
	}
	public void setPayMerchantNumber(String payMerchantNumber) {
		this.payMerchantNumber = payMerchantNumber;
	}
	public Integer getAppend() {
		return append;
	}
	public void setAppend(Integer append) {
		this.append = append;
	}
	public Integer getDeleteState() {
		return deleteState;
	}
	public void setDeleteState(Integer deleteState) {
		this.deleteState = deleteState;
	}
	public Date getDeleteTime() {
		return deleteTime;
	}
	public void setDeleteTime(Date deleteTime) {
		this.deleteTime = deleteTime;
	}

	@Override
	public String toString() {
		return "MfflConsultationReply{" +
				"userid=" + userid +
				", lawyer=" + lawyer +
				", userOrLawyer=" + userOrLawyer +
				", consultationId=" + consultationId +
				", serviceType=" + serviceType +
				", reply='" + reply + '\'' +
				", imageUrl='" + imageUrl + '\'' +
				", payId=" + payId +
				", payNumber='" + payNumber + '\'' +
				", payMerchantNumber='" + payMerchantNumber + '\'' +
				", append=" + append +
				", deleteState=" + deleteState +
				", deleteTime=" + deleteTime +
				", consultationReplyList=" + consultationReplyList +
				'}';
	}
}
